FUNCTION
min
Returns the lesser of two integer values; i.e. a if a < b, or b otherwise.
Parameters
- a — the first integer to compare
- b — the second integer to compare
Returns
the lesser of a and b
Since
0.6.0
function min(a: big_integer, b: big_integer): big_integerReturns the lesser of two big_integer values; i.e. a if a < b, or b otherwise.
Parameters
- a — the first big_integer to compare
- b — the second big_integer to compare
Returns
the lesser of a and b
Since
0.12.0
Returns the lesser of two decimal values; i.e. a if a < b, or b otherwise.
Parameters
- a — the first decimal to compare
- b — the second decimal to compare
Returns
the lesser of a and b
Since
0.9.1
© 2026 Chromia